import {IptLimitConst} from '../ipt-limit-const'

/**
 * 与用户相关的输入组件 Props 常量对象
 */
export const IptPropsConstUser = {
  username: {
    formItem: {
      label: '用户名',
      path: 'username',
    },
    ipt: {
      placeholder: '请输入用户名',
      maxlength: IptLimitConst.USER_USERNAME_MAX_LEN,
    },
  },
  password: {
    formItem: {
      label: '密码',
      path: 'password',
    },
    ipt: {
      placeholder: '请输入密码',
      maxlength: IptLimitConst.USER_PASSWORD_MAX_LEN,
      type: 'password',
      showPasswordOn: "click"
    },
  },
}
